<template>
    <view class="page" :style="themeColor">
    <view class="flex benben-position-layout flex flex-wrap align-center courseDetails_flex_0"    :style="{height:(88+StatusBarRpx)+'rpx',paddingTop:StatusBarRpx+'rpx'}">
            <view   class='flex flex-wrap align-center justify-between flex-sub courseDetails_fd0_0'     >
            <view   class='flex flex-wrap align-center justify-center courseDetails_fd0_0_c0'  @tap.stop="handleJumpDiy" data-type="back" data-url="1"   >
        <text class='fu-iconfont2  courseDetails_fd0_0_c0_c0'   >&#xE794;</text>
</view>
    <view   class='flex flex-wrap align-stretch justify-center'     >
        <text class='courseDetails_fd0_0_c1_c0' >齐发爆破</text>
</view>
    <view   class='flex flex-wrap align-center courseDetails_fd0_0_c0'     >
        </view>
</view>

        </view>
<view :style="{height: (88+StatusBarRpx)+'rpx'}"  ></view>
<!---flex布局flex布局开始-->
 <view class="flex flex-direction flex-wrap align-center benben-flex-layout"   >
        <view style="position: relative">
    <swiper @change="bannerIndexfd1_0 = $event.detail.current" class='flex position-relative courseDetails_fd1_0' previous-margin="0rpx" next-margin="0rpx" :display-multiple-items="1" :interval="5000" :duration="500" :autoplay='true' :circular='true' >
        
    
        <swiper-item class='flex  courseDetails_fd1_0'      >
        <image class='courseDetails_fd1_0_c1_c0' mode="aspectFit"  :src='STATIC_URL+"30.png"'></image>
</swiper-item>
    

    </swiper>
</view>
</view>
        
<!---flex布局flex布局结束-->
<!---flex布局flex布局开始-->
 <view class="flex benben-flex-layout flex-wrap align-center"   >
        <view>
        <benben-flex-tabs class-name='courseDetails_benbenTabsfd2_0' v-model="taps" ref="benben_tabsfd2_0" select-mark="benben_tabsfd2_0" key="benben_tabsfd2_0" :open-title-type='false' :open-sticky='true' :top='0' :is-show-content='false' :scrollspy='false'  :tabs-info.sync="tabsInfofd2_0"  >
            
                    <scroll-view
          @scroll="tabsInfofd2_0.scrollX = $event.detail.scrollLeft"
          id="benben_tabsfd2_0"
          class="benben-tabs"
          style="width:750rpx"
          :scroll-x="true"
          :scroll-left.sync="tabsInfofd2_0.moveX"
          scroll-with-animation="all .3s ease"
        >
          <view class="benben-tabs-content" id="benben_tabsfd2_0-content">
            <view id="benben_tabsfd2_0-title" class="benben-tabs-title flex flex align-center justify-around">
                        <view 
                :class="{ 'checkTitlefd2_0': taps == '1', 'flex flex-wrap align-center': true }"
                @tap="taps = '1'"
                :id="`benben_tabsfd2_0-title-item-${'1'}`"
                
              >
                
<text  >章节</text>

              </view>            <view 
                :class="{ 'checkTitlefd2_0': taps == '2', 'flex flex-wrap align-center': true }"
                @tap="taps = '2'"
                :id="`benben_tabsfd2_0-title-item-${'2'}`"
                
              >
                
<text  >题库</text>

              </view>
            </view>
            <view :style="{ left: tabsInfofd2_0.lineleft, maxWidth: tabsInfofd2_0.lineWidth }" id="benben_tabsfd2_0-line" class="benben-tabs-line flex benben-flex-tabs-line courseDetails_linefd2_0"></view>
          </view>
        </scroll-view>
            
        </benben-flex-tabs>
        
</view>
</view>
        
<!---flex布局flex布局结束-->
<!---章节flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout"  v-if= "taps=='1'" >
            <view   class='flex flex-direction flex-wrap align-stretch courseDetails_fd3_0'     >
            <view   class='flex flex-wrap align-center justify-between courseDetails_fd3_0_c0'     >
            <view   class='flex flex-wrap align-center'     >
        <text class='courseDetails_fd3_0_c0_c0_c0' >章节一  </text>
<text class='courseDetails_fd3_0_c0_c0_c1' >爆炸与炸药的基本理论    </text>
</view>
    <view   class='flex flex-wrap align-center'     >
        <image class='courseDetails_fd3_0_c0_c1_c0' mode="aspectFit"  :src='STATIC_URL+"31.png"'></image>
</view>
</view>
    <view   class='flex flex-direction flex-wrap align-stretch courseDetails_fd3_0_c1'     >
            <view   class='flex flex-direction flex-wrap align-stretch courseDetails_fd3_0_c1_c0'     >
            <view   class='flex flex-wrap align-center justify-between'     >
            <view   class='flex flex-wrap align-center'     >
        <image class='courseDetails_fd3_0_c1_c0_c0_c0_c0' mode="aspectFit"  :src='STATIC_URL+"32.png"'></image>
<text class='courseDetails_fd3_0_c1_c0_c0_c0_c1' >视频名称</text>
</view>
    <view   class='flex flex-wrap align-center'   @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/course/videoOpen/videoOpen?aid=1`"   >
        <button class='courseDetails_fd3_0_c1_c0_c0_c1_c0' >观看</button>
</view>
</view>
    <view   class='flex flex-wrap align-center courseDetails_fd3_0_c1_c0_c1'     >
        <text class='courseDetails_fd3_0_c1_c0_c1_c0' >学习进度</text>
<view class='flex benben-progress-bar courseDetails_fd3_0_c1_c0_c1_c1' >
    <view  class='benben-progress-bar-center courseDetails_progress1_fd3_0_c1_c0_c1_c1' :style="{width: 50+'%'}"></view>
    
</view>
</view>
</view>
    <view   class='flex flex-direction flex-wrap align-stretch courseDetails_fd3_0_c1_c0'     >
            <view   class='flex flex-wrap align-center justify-between'     >
            <view   class='flex flex-wrap align-center'     >
        <image class='courseDetails_fd3_0_c1_c0_c0_c0_c0' mode="aspectFit"  :src='STATIC_URL+"33.png"'></image>
<text class='courseDetails_fd3_0_c1_c0_c0_c0_c1' >课件名称.pdf</text>
</view>
    <view   class='flex flex-wrap align-center'   @tap.stop="handleJumpDiy" data-type="navigateTo" :data-url="`/pages/course/courseware/courseware?aid=1`"   >
        <button class='courseDetails_fd3_0_c1_c0_c0_c1_c0' >查看</button>
</view>
</view>
    <view   class='flex flex-wrap align-center courseDetails_fd3_0_c1_c0_c1'     >
        <text class='courseDetails_fd3_0_c1_c0_c1_c0' >学习进度</text>
<view class='flex benben-progress-bar courseDetails_fd3_0_c1_c0_c1_c1' >
    <view  class='benben-progress-bar-center courseDetails_progress1_fd3_0_c1_c0_c1_c1' :style="{width: 50+'%'}"></view>
    
</view>
</view>
</view>
</view>
</view>
</view>
        
<!---章节flex布局结束-->
<!---题库flex布局开始-->
 <view class="flex flex-direction flex-wrap align-stretch benben-flex-layout courseDetails_flex_4"  v-if= "taps=='2'" >
            <view   class='flex flex-wrap align-center courseDetails_fd4_0'     >
        <text class='courseDetails_fd4_0_c0' >题目类型：</text>
<text class='courseDetails_fd4_0_c0' >单选、多选、判断。</text>
</view>
    <view   class='flex flex-wrap align-center courseDetails_fd4_1'     >
        <text  >单选题：</text>
<text  >12</text>
<text  >题。</text>
</view>
    <view   class='flex flex-wrap align-center courseDetails_fd4_1'     >
        <text  >多选题：</text>
<text  >12</text>
<text  >题。</text>
</view>
    <view   class='flex flex-wrap align-center courseDetails_fd4_1'     >
        <text  >判断题：</text>
<text  >12</text>
<text  >题。</text>
</view>
</view>
        
<!---题库flex布局结束-->
    <view class="flex flex-direction flex-wrap align-center benben-position-layout flex courseDetails_flex_5"  v-if= "taps=='2'"  >
        <button class='courseDetails_fd5_0' >开始做题</button>

        </view>
<view :style="{height: '88rpx'}" v-if= "taps=='2'" ></view>
    
    
    </view>
</template>
<script>
    
    export default {
        components:{},
        
        
        data(){
			return {"tabsInfofd2_0":{ lineleft: '', lineWidth: '', moveX: 0, scrollX: 0, PageScrollX: 0 },"bannerIndexfd1_0":0,"taps":1,"aid":""};
		},
		computed:{
            themeColor() {
              return this.$store.getters.themeColor
            },
            
		},
		watch:{},
		onLoad(options){
            let {aid}=options
if (aid !== undefined) this.aid = aid
		},
        onUnload() {
                
        },
		onReady(){
            
		},
		onShow(){
            
		},
		onHide(){
            
		},
		onResize(){
            
		},
		onPullDownRefresh(){
            
		},
		onReachBottom(e){
            
		},
		onPageScroll(e){
            
		},
		methods:{
            
		}
    };
</script> 
<style lang="scss" scoped>
           .page{
            width: 100vw;
            overflow-x: hidden;
            min-height: calc(100vh - var(--window-bottom));
            background:var(--benbenbgColor1);background-size: 100% auto !important;
        }
    .courseDetails_flex_0{
        background:#fff;width:750rpx;height:88rpx;overflow:hidden;z-index:10;top:0rpx;background-size:100% auto !important;
    }
    .courseDetails_fd0_0_c1_c0{
        font-size:36rpx;font-weight:500;color:#333333;line-height:88rpx;
    }
    .courseDetails_fd0_0_c0_c0{
        font-size:36rpx;color:#333;
    }
    .courseDetails_fd0_0_c0{
        width:50rpx;height:50rpx;
    }
    .courseDetails_fd0_0{
        padding:0rpx 32rpx 0rpx 32rpx;
    }
    .courseDetails_numberfd1_0_c0{
        background:#525050;position:absolute;bottom:20rpx;right:30rpx;width:80rpx;height:40rpx;border-radius:6rpx 6rpx 6rpx 6rpx;font-size:24rpx;color:#FFFFFF;line-height:46rpx;font-weight:400;
    }
    .courseDetails_fd1_0_c1_c0{
        width:100%;height:100%;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .courseDetails_fd1_0{
        width:702rpx;height:343rpx;
    }
    .courseDetails_swiperDotUnselectedfd1_0{
        border:1px solid rgba(0, 0, 0, 0.3);background:rgba(0, 0, 0, 0.3);width:16rpx;height:16rpx;border-radius:100rpx 100rpx 100rpx 100rpx;margin:0rpx 6rpx 0rpx 0rpx;font-size:24rpx;color:#fff;
    }
    .courseDetails_swiperDotSelectedfd1_0{
        border:1px solid #00A7FF;background:#00A7FF;width:16rpx;height:16rpx;border-radius:100rpx 100rpx 100rpx 100rpx;margin:0rpx 6rpx 0rpx 0rpx;font-size:24rpx;color:#fff;
    }
    ::v-deep .courseDetails_swiperDotfd1_0{
        position:absolute;bottom:20rpx;left:0rpx;right:0rpx;
    }
    .courseDetails_linefd2_0{
        background:rgba(42,139,238,0.39);width:40rpx;height:6rpx;top:75rpx;background-size:100% auto !important;box-shadow:0rpx -1rpx 6rpx rgba(29,137,235,0.16);
    }
    .checkTitlefd2_0{
        font-weight:700 !important;font-size:36rpx !important;color:rgba(51, 51, 51, 1) !important;background-color:rgba(255, 255, 255, 1) !important;
    }
    ::v-deep .courseDetails_benbenTabsfd2_0{
        background:#fff;width:750rpx;height:90rpx;white-space:nowrap;text-align:center;color:rgba(102, 102, 102, 1);
    }
    .courseDetails_progress1_fd3_0_c1_c0_c1_c1{
        background:rgba(42, 139, 238, 1);border-radius:10rpx 10rpx 10rpx 10rpx;
    }
    .courseDetails_fd3_0_c1_c0_c1_c1{
        background:rgba(246, 247, 249, 1);width:356rpx;height:20rpx;border-radius:16rpx 16rpx 16rpx 16rpx;background-size:100% auto !important;margin:0rpx 0rpx 0rpx 24rpx;
    }
    .courseDetails_fd3_0_c1_c0_c1_c0{
        color:#ACB3B9;font-size:24rpx;font-weight:400;line-height:33rpx;
    }
    .courseDetails_fd3_0_c1_c0_c1{
        margin:22rpx 0rpx 0rpx 0rpx;
    }
    .courseDetails_fd3_0_c1_c0_c0_c1_c0{
        background:linear-gradient(259deg, #CD962D 0%, #FCD48B 100%);border-radius:44rpx 44rpx 44rpx 44rpx;font-size:24rpx;color:#fff;width:110rpx;height:48rpx;line-height:48rpx;
    }
    .courseDetails_fd3_0_c1_c0_c0_c0_c1{
        color:#333333;font-size:32rpx;font-weight:500;line-height:45rpx;margin:0rpx 0rpx 0rpx 16rpx;
    }
    .courseDetails_fd3_0_c1_c0_c0_c0_c0{
        width:40rpx;height:40rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .courseDetails_fd3_0_c1_c0{
        border-bottom:1px solid #eee;padding:36rpx 0rpx 38rpx 0rpx;
    }
    .courseDetails_fd3_0_c1{
        padding:0rpx 24rpx 0rpx 24rpx;
    }
    .courseDetails_fd3_0_c0_c1_c0{
        width:20rpx;height:20rpx;border-radius:0rpx 0rpx 0rpx 0rpx;
    }
    .courseDetails_fd3_0_c0_c0_c1{
        margin:0rpx 0rpx 0rpx 15rpx;color:#333333;font-size:32rpx;font-weight:400;line-height:45rpx;
    }
    .courseDetails_fd3_0_c0_c0_c0{
        color:#333333;font-size:32rpx;font-weight:400;line-height:45rpx;
    }
    .courseDetails_fd3_0_c0{
        background:rgba(246,247,249,0.39);width:750rpx;height:72rpx;padding:0rpx 24rpx 0rpx 24rpx;
    }
    .courseDetails_fd3_0{
        margin:24rpx 0rpx 0rpx 0rpx;
    }
    .courseDetails_flex_4{
        padding:0rpx 24rpx 0rpx 24rpx;margin:30rpx 0rpx 0rpx 0rpx;
    }
    .courseDetails_fd4_1{
        margin:16rpx 0rpx 16rpx 0rpx;
    }
    .courseDetails_fd4_0_c0{
        color:#333333;font-size:28rpx;font-weight:500;line-height:40rpx;
    }
    .courseDetails_fd4_0{
        margin:0rpx 0rpx 16rpx 0rpx;
    }
    .courseDetails_flex_5{
        width:750rpx;height:88rpx;overflow:hidden;z-index:10;bottom:calc(48rpx + var(--window-bottom));
    }
    .courseDetails_fd5_0{
        background:rgba(205, 150, 45, 1);border-radius:64rpx 64rpx 64rpx 64rpx;font-size:32rpx;color:#fff;width:686rpx;height:88rpx;line-height:88rpx;
    }
</style>